<template>
  <router-view />

  <NavBar> </NavBar>
</template>


<script>
import NavBar from "@/components/NavBar.vue";
import $bus from '../src/config/eventBus'
import {ref} from 'vue'
export default {
  components: {
    NavBar,
  },
};
 // 移除底部菜单
  let footTabBarShow = ref(true)
  // mitt $bus 接收事件
  $bus.on("tabBarHide", status => {
    footTabBarShow.value = status
  })
  
</script>

<style lang="scss">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
</style>
